package net.jjjshop.common.entity.order;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * 订单先享支付支付记录表
 *
 * @author jjjshop
 * @since 2024-06-23
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("jjjshop_order_credit_pay")
@ApiModel(value = "OrderCreditPay对象")
public class OrderCreditPay implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "order_credit_pay_id", type = IdType.AUTO)
    private Integer orderCreditPayId;

    @ApiModelProperty("订单id")
    private Integer orderId;

    @ApiModelProperty("商家外部协议号，唯一")
    private String outRequestNo;

    @ApiModelProperty("扣款商户订单订号,免押才需要传递，唯一")
    private String outTradeNo;

    @ApiModelProperty("支付宝交易号")
    private String tradeNo;

    @ApiModelProperty("支付金额")
    private BigDecimal payPrice;

    @ApiModelProperty("支付方式(10余额支付 20微信支付 30支付宝 40 芝麻先享授信,50免押))")
    private Integer payType;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("支付状态(10未支付 20已支付)")
    private Integer payStatus;

    @ApiModelProperty("支付时间")
    private Date payTime;

    @ApiModelProperty("小程序id")
    private Integer appId;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

}
